package com.iot.auth.service;

import reactor.core.publisher.Mono;

/**
 * @Author 咕唧
 * @Date 2022/7/19 21:19
 * @Version 1.0
 */
public interface TokenService {
    /**
     * 检查令牌是否正确
     *
     * @param token
     * @return
     */
    Mono<Integer> checkToken(String token);
}
